#include <netinet/in.h>

#ifndef NETH
#define NETH

void init_net();
int net_dispatch();
void set_address ( char* host, char* sport,
		   struct sockaddr_in* sap,
		   char* protocol );
char* get_tcp_connection_name ( void* );
void create_tcp_connection ( char* name, char* host, char* port );

//extern char* tcp_gets ( struct tcp_connection* nc, char* b, int len );

//extern void tcp_send ( struct tcp_connection* conn, char* fmt, ... );
#endif
